package com.youme.model;

import java.util.List;

/**
 * Time:3/21/21 6:43 PM
 * Author:
 * Description:
 */
public class Test {

    /**
     * msg : 操作成功
     * code : 200
     * data : [{"restId":"f1d83fd2-08f8-4343-b436-cb9b67903054","restName":"太原餐厅","restPic":"[{\"name\":\"1.jpg\",\"url\":\"http://youme-shop.oss-cn-beijing.aliyuncs.com/1.jpg?Expires=2561423727&OSSAccessKeyId=LTAI4GCeqTiarMteJYBqsDsb&Signature=OxYFqVY%2BM884bTcVz4zTf%2BH17CU%3D\",\"uid\":1615343727461,\"status\":\"success\"},{\"name\":\"门店照片.jpg\",\"url\":\"http://youme-shop.oss-cn-beijing.aliyuncs.com/%E9%97%A8%E5%BA%97%E7%85%A7%E7%89%87.jpg?Expires=2561423739&OSSAccessKeyId=LTAI4GCeqTiarMteJYBqsDsb&Signature=10j0YbVf0Pj0QMZd%2FaLOoz%2F0jv0%3D\",\"uid\":1615343739470,\"status\":\"success\"}]","longitude":"112.457710","latitude":"37.718480","popularity":6,"order":1,"distance":11795.635472444947},{"restId":"913eabed-4a0d-49d8-ada6-42ed436e44a2","restName":"并州饭店","restPic":null,"longitude":"112.512269","latitude":"37.868732","popularity":50,"order":3,"distance":11796.152743856408},{"restId":"2111c40a-a237-470e-b284-79b7b5b129da","restName":"汤臣一品","restPic":"[{\"name\":\"门店照片.jpg\",\"url\":\"http://youme-shop.oss-cn-beijing.aliyuncs.com/%E9%97%A8%E5%BA%97%E7%85%A7%E7%89%87.jpg?Expires=2561535644&OSSAccessKeyId=LTAI4GCeqTiarMteJYBqsDsb&Signature=QFgPkxTZVM3FL9%2BCJaKh87ShofI%3D\",\"uid\":1615455644670,\"status\":\"success\"}]","longitude":"112.775000","latitude":"37.669000","popularity":888,"order":1,"distance":11824.076942698883},{"restId":"23712c4f-0168-4994-abfa-5ea2dfbbff66","restName":"大草原","restPic":"[]","longitude":"112.789000","latitude":"37.698800","popularity":0,"order":1,"distance":11824.44197167365}]
     */

    private String msg;
    private int code;
    /**
     * restId : f1d83fd2-08f8-4343-b436-cb9b67903054
     * restName : 太原餐厅
     * restPic : [{"name":"1.jpg","url":"http://youme-shop.oss-cn-beijing.aliyuncs.com/1.jpg?Expires=2561423727&OSSAccessKeyId=LTAI4GCeqTiarMteJYBqsDsb&Signature=OxYFqVY%2BM884bTcVz4zTf%2BH17CU%3D","uid":1615343727461,"status":"success"},{"name":"门店照片.jpg","url":"http://youme-shop.oss-cn-beijing.aliyuncs.com/%E9%97%A8%E5%BA%97%E7%85%A7%E7%89%87.jpg?Expires=2561423739&OSSAccessKeyId=LTAI4GCeqTiarMteJYBqsDsb&Signature=10j0YbVf0Pj0QMZd%2FaLOoz%2F0jv0%3D","uid":1615343739470,"status":"success"}]
     * longitude : 112.457710
     * latitude : 37.718480
     * popularity : 6
     * order : 1
     * distance : 11795.635472444947
     */

    private List<DataBean> data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        private String restId;
        private String restName;
        private String restPic;
        private String longitude;
        private String latitude;
        private int popularity;
        private int order;
        private double distance;

        public String getRestId() {
            return restId;
        }

        public void setRestId(String restId) {
            this.restId = restId;
        }

        public String getRestName() {
            return restName;
        }

        public void setRestName(String restName) {
            this.restName = restName;
        }

        public String getRestPic() {
            return restPic;
        }

        public void setRestPic(String restPic) {
            this.restPic = restPic;
        }

        public String getLongitude() {
            return longitude;
        }

        public void setLongitude(String longitude) {
            this.longitude = longitude;
        }

        public String getLatitude() {
            return latitude;
        }

        public void setLatitude(String latitude) {
            this.latitude = latitude;
        }

        public int getPopularity() {
            return popularity;
        }

        public void setPopularity(int popularity) {
            this.popularity = popularity;
        }

        public int getOrder() {
            return order;
        }

        public void setOrder(int order) {
            this.order = order;
        }

        public double getDistance() {
            return distance;
        }

        public void setDistance(double distance) {
            this.distance = distance;
        }
    }
}
